A good answer might be:


BorderLayout

BorderLayout.is a frequently used layout manager. The container it manages corresponds to a rectangle of screen. That rectangle is divided up into five regions:

Each region may hold only one component, although that component may be a panel (and usually is). The size of the regions is adjusted depending on what is in them. You don't have to put a component in each region. If a region has no component in it, it shrinks to a small area.

QUESTION 7:

Add the three panels to the content pane.

// content pane
getContentPane().setLayout( new BorderLayout() );
getContentPane().add( genderPanel, BorderLayout.________ );
getContentPane().add( heightPanel, BorderLayout.________ );
getContentPane().add( resultPanel, BorderLayout.________ );